package com.ibiaoke.goods.mapper;

import com.ibiaoke.goods.entity.XcxGoods;
import com.ibiaoke.goods.entity.XcxGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface XcxGoodsMapper {
    long countByExample(XcxGoodsExample example);

    int deleteByExample(XcxGoodsExample example);

    int deleteByPrimaryKey(Integer goodsId);

    int insert(XcxGoods record);

    int insertSelective(XcxGoods record);

    List<XcxGoods> selectByExampleWithBLOBs(XcxGoodsExample example);

    List<XcxGoods> selectByExample(XcxGoodsExample example);

    XcxGoods selectByPrimaryKey(Integer goodsId);

    int updateByExampleSelective(@Param("record") XcxGoods record, @Param("example") XcxGoodsExample example);

    int updateByExampleWithBLOBs(@Param("record") XcxGoods record, @Param("example") XcxGoodsExample example);

    int updateByExample(@Param("record") XcxGoods record, @Param("example") XcxGoodsExample example);

    int updateByPrimaryKeySelective(XcxGoods record);

    int updateByPrimaryKeyWithBLOBs(XcxGoods record);

    int updateByPrimaryKey(XcxGoods record);
}